<?php
/**
 * AuthorController
 * @author 王志昂
 */
class AuthorController extends Controller_Helper
{
    public function indexAction()
    {
        $classType = 'mix';
        $this->view->title = 
            Business_Article::getInstance()->getAuthorName((int)$this->_request->getParam('author')) . ' | iLOVE';
        $this->view->controller = 'author';
        $this->view->breadcrumb = 'posted by ' . 
            Business_Article::getInstance()->getAuthorName((int)$this->_request->getParam('author'));
        $this->_getArticleList($classType);
        $this->_getWidgets();
    }
}
